import request from '@/utils/request'

// 查询转场单申请处置列表
export function listTransferUrginfo(query) {
  return request({
    url: '/system/transferUrginfo/list',
    method: 'get',
    params: query
  })
}

// 查询转场单申请处置详细
export function getTransferUrginfo(billCode) {
  return request({
    url: '/system/transferUrginfo/getInfo/' + billCode,
    method: 'get'
  })
}

// 新增转场单申请处置
export function addTransferUrginfo(data) {
  return request({
    url: '/system/transferUrginfo/add',
    method: 'post',
    data: data
  })
}

// 修改转场单申请处置
export function updateTransferUrginfo(data) {
  return request({
    url: '/system/transferUrginfo/edit',
    method: 'post',
    data: data
  })
}

// 删除转场单申请处置
export function delTransferUrginfo(billCode) {
  return request({
    url: '/system/transferUrginfo/remove/' + billCode,
    method: 'get'
  })
}

// 提交转场单申请处置
export function submitTransferUrginfo(billCode) {
  return request({
    url: '/system/transferUrginfo/submit/' + billCode,
    method: 'get'
  })
}

// 导出转场单申请处置
export function exportTransferUrginfo(query) {
  return request({
    url: '/system/transferUrginfo/export',
    method: 'get',
    params: query
  })
}